# Copyright (C) 2007 by Cristóbal Carnero Liñán
# grendel.ccl@gmail.com
#
# This file is part of cvBlob.
#
# cvBlob is free software: you can redistribute it and/or modify
# it under the terms of the Lesser GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# cvBlob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# Lesser GNU General Public License for more details.
#
# You should have received a copy of the Lesser GNU General Public License
# along with cvBlob.  If not, see <http://www.gnu.org/licenses/>.
#


include_directories(${cvBlob_SOURCE_DIR}/cvBlob ${OPENCV246_DIR}/../../include/)
link_directories ( ${OPENCV246_DIR}/lib )
# TEST
set(TEST_SRC test.cpp)



add_executable(test ${TEST_SRC})

target_link_libraries(test cvblob)
target_link_libraries(test opencv_core246.lib debug opencv_core246d.lib
                        optimized opencv_highgui246.lib debug opencv_highgui246d.lib
                        optimized opencv_features2d246.lib debug opencv_features2d246d.lib
                        optimized opencv_nonfree246.lib debug opencv_nonfree246d.lib
                        optimized opencv_calib3d246.lib debug opencv_calib3d246d.lib
                        optimized opencv_video246.lib debug opencv_video246d.lib
                        optimized opencv_imgproc246.lib debug opencv_imgproc246d.lib)

# TEST_RANDOM
set(TEST_RANDOM_SRC test_random.cpp)

add_executable(test_random ${TEST_RANDOM_SRC})

target_link_libraries(test_random cvblob)
target_link_libraries(test_random opencv_core246.lib debug opencv_core246d.lib
                        optimized opencv_highgui246.lib debug opencv_highgui246d.lib
                        optimized opencv_features2d246.lib debug opencv_features2d246d.lib
                        optimized opencv_nonfree246.lib debug opencv_nonfree246d.lib
                        optimized opencv_calib3d246.lib debug opencv_calib3d246d.lib
                        optimized opencv_video246.lib debug opencv_video246d.lib
                        optimized opencv_imgproc246.lib debug opencv_imgproc246d.lib)

# TEST TRACKING
set(TEST_TRACKING_SRC test_tracking.cpp)

add_executable(test_tracking ${TEST_TRACKING_SRC})

target_link_libraries(test_tracking cvblob)
target_link_libraries(test_tracking opencv_core246.lib debug opencv_core246d.lib
                        optimized opencv_highgui246.lib debug opencv_highgui246d.lib
                        optimized opencv_features2d246.lib debug opencv_features2d246d.lib
                        optimized opencv_nonfree246.lib debug opencv_nonfree246d.lib
                        optimized opencv_calib3d246.lib debug opencv_calib3d246d.lib
                        optimized opencv_video246.lib debug opencv_video246d.lib
                        optimized opencv_imgproc246.lib debug opencv_imgproc246d.lib)
